﻿using Abp.Application.Services.Dto;
using ARchGL.Platform.Dto;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ARchGL.Platform.Dtos
{
    /// <summary>
    /// 安全检查 整改/回复/复查/ 详情 ViewModel
    /// </summary>
    public class SecurityCheckAndFeedbacksDto : EntityDto<Guid>
    {
        /// <summary>
        /// 状态：1整改回复、2复查意见
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 状态：1通过、2不通过
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建人名称
        /// </summary>
        public string CreatorUserName { get; set; }
        /// <summary>
        /// 检查附件
        /// </summary>
        public List<string> Attachments { get; set; }
        /// <summary>
        /// 意见/回复
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 创建时间戳
        /// </summary>
        public long CreationUniversalTime { get { return CreationTime.ToUnixTimestamp(); } }
    }
}
